home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / sdivide.6 < prev    next >
Encoding:
Text File  |  1996-07-16  |  1.1 KB  |  33 lines

  1. .TH SDIVIDE
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. SDIVIDE
  5.  
  6.  
  7.  
  8.  SurfaceType SDIVIDE( SurfaceType Srf, ConstantType Direction,
  9.                                                           NumericType Param )
  10.  
  11.  or
  12.  
  13.  TrimSrfType SDIVIDE( TrimSrfType Srf, ConstantType Direction,
  14.                                                           NumericType Param )
  15.  
  16. Subdivides a (possibly trimmed) surface into two at the specified parameter
  17. value Param in the specified Direction (ROW or COL). Srf
  18. can be either a Bspline surface in which Param must be conatined in
  19. the parametric domain of the surface, or a Bezier surface in which Param} must be in the range of zero to one.
  20.  
  21. It returns a list of upto two sub-surfaces. The individual surfaces may be
  22. extracted from the list using the NTH command. If Srf is a trimmed
  23. surface, it can be the case that one of the two subdivided surfaces is
  24. completely trimmed out, and hence only one surface will be returned.
  25.  
  26. Example:
  27.  
  28.     SrfLst = SDIVIDE( Srf, ROW, 0.5 );
  29.     Srf1 = nth( SrfLst, 1 );
  30.     Srf2 = nth( SrfLst, 2 );
  31.  
  32. Subdivides Srf at the parameter value of 0.5 in the ROW direction.
  33.